| Python3Script Xojo Plugin |
|
Python3XojoClass Class (console safe)
A class to create new Python 3 classes from Xojo.
In this version there is only support for creating classes with methods, no properties.
Python3Object
Python3XojoClass
class Python3XojoClass
Constructors
Python3XojoClass (console safe) | Constructor that takes name and address of a init method. |
Properties
Name (Inherited) (console safe) | Returns the name of the object. |
Methods
shared Data | Gets Xojo object storage from the Python class. |
shared Data | Sets Xojo object as the Data of the Python class. |
RegisterFunction (console safe) | Registers a Xojo function to expose to Python via this class |
RegisterGetterSetter (console safe) | Registers Getter and or Setter to the class. |
SetHashFunction (console safe) | Optionally sets hash function for your class which gets used by the Python hash() operator. |
SetToStringFunction (console safe) | Optionally sets str function for your class which gets used by the Python str() operator. |
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bit